package me.tonywang.config;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @className: PropertyConfig
 * @description:
 * @author: WANGHUI
 * @createDate: 2018/4/25 8:51
 * @version: 1.0
 */
public class PropertyConfig {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
        ctx.register(ConfigA.class);
        ctx.register(ConfigB.class);
        ctx.register(AppConfig.class);
        ctx.refresh();
    }

}
